package com.qianfeng.openplatform.geteway;

import com.qianfeng.openplatform.geteway.rabbit.LogsListenProvider;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.web.servlet.ServletComponentScan;
import org.springframework.cloud.netflix.eureka.EnableEurekaClient;
import org.springframework.cloud.netflix.zuul.EnableZuulProxy;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.cloud.stream.annotation.EnableBinding;

/**
 * @author 江江
 * @Date 2020/7/24 11:18
 */
@SpringBootApplication
@EnableEurekaClient
@EnableZuulProxy
@EnableFeignClients
@ServletComponentScan("com.qianfeng.openplatform.geteway.listen")
@EnableBinding(LogsListenProvider.class)
public class GateWayStartApp {
    public static void main(String[] args) {
        SpringApplication.run(GateWayStartApp.class,args);
    }
}
